#include <osgViewer/viewer>
#include <osgDB/ReadFile>
#include <osgEarth/EarthManipulator>
#include <osgEarth/MapNode>

using namespace osgEarth;
using namespace osgEarth::Util;

int main()
{
    osgEarth::initialize();

    osgViewer::Viewer viewer;
    viewer.setCameraManipulator(new EarthManipulator());
    osg::Node* node = osgDB::readNodeFile("simple.earth");
    viewer.setSceneData(node);

    return viewer.run();
}
